package com.multithread.base;

import com.multithread.base.impl.SceneImpl;

/**
 * @author: hfxiang
 * @Description:
 * @date: 2022/7/22 11:20
 */
public class SceneFactory {
    public Scene getScene(String sceneType){
        if ("1to1While".equals(sceneType)) {
            return new SceneImpl(10);
        }else if ("1to1Block".equals(sceneType)){
            return new SceneImpl(10);
        }
        return null;
    }
}
